#!/usr/bin/env node 

const {program}=require('commander');
const {version}=require('./package.json');

const {actionHandle}=require('./utils/action')

//定义指令
program
    .command('init')
    .description('random color')
    .action(actionHandle);

//解析进程参数
program.version(version).parse(process.argv);